package cn.wolfcode.wolf2w.business.api.domain;

import cn.wolfcode.wolf2w.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wolfcode.wolf2w.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 回答对象 ta_reply
 * 
 * @author SQM
 * @date 2024-11-18
 */
@Setter
@Getter
@Accessors(chain = true)
@TableName("ta_reply")
public class Reply implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 问题id */
    @TableId(type = IdType.AUTO)
    private Long id;


    /** 回答问题id */
    @Excel(name = "回答问题id")
    private Long questionse;


    /** 回答内容 */
    @Excel(name = "回答内容")
    private String detailDoubt;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionse", getQuestionse())
            .append("detailDoubt", getDetailDoubt())
            .toString();
    }
}
